import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import 'amfe-flexible'
import pinia from './store';

import router from './router';

import 'vant/lib/index.css';
import { Tabbar, TabbarItem, Grid, GridItem, Icon } from 'vant';
import TabbarServe from './components/Tabbar/TabbarServe.vue';
import {VueMasonryPlugin} from 'vue-masonry'
// import { Icon } from 'vant'
const app = createApp(App)

app.component('TabbarServe', TabbarServe)
app.use(VueMasonryPlugin)
app.use(pinia)
  
  .use(router)
  
  .use(Tabbar)
  .use(TabbarItem)
  .use(VueMasonryPlugin)
  .mount('#app')
